package com.ruoyi.veterinary.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 vet_customer
 * 
 * @author ruoyi
 * @date 2024-01-19
 */
public class VetCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户ID */
    private Long customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户类型：规模化养殖场/散养户/兽医机构 */
    @Excel(name = "客户类型", readConverterExp = "规模化养殖场=规模化养殖场,散养户=散养户,兽医机构=兽医机构")
    private String customerType;

    /** 实体类型：企业/个人 */
    @Excel(name = "实体类型", readConverterExp = "企业=企业,个人=个人")
    private String entityType;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系方式（1-2个主要电话） */
    @Excel(name = "联系方式")
    private String contactPhone;

    /** 养殖品类（多选：猪/鸡/牛等） */
    @Excel(name = "养殖品类")
    private String breedingCategory;

    /** 合作等级：普通/VIP */
    @Excel(name = "合作等级", readConverterExp = "普通=普通,VIP=VIP")
    private String cooperationLevel;

    /** 养殖规模（如：500头猪） */
    @Excel(name = "养殖规模")
    private String breedingScale;

    /** 备注（关键需求，如：需冷藏） */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerType(String customerType) 
    {
        this.customerType = customerType;
    }

    public String getCustomerType() 
    {
        return customerType;
    }
    public void setEntityType(String entityType) 
    {
        this.entityType = entityType;
    }

    public String getEntityType() 
    {
        return entityType;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setBreedingCategory(String breedingCategory) 
    {
        this.breedingCategory = breedingCategory;
    }

    public String getBreedingCategory() 
    {
        return breedingCategory;
    }
    public void setCooperationLevel(String cooperationLevel) 
    {
        this.cooperationLevel = cooperationLevel;
    }

    public String getCooperationLevel() 
    {
        return cooperationLevel;
    }
    public void setBreedingScale(String breedingScale) 
    {
        this.breedingScale = breedingScale;
    }

    public String getBreedingScale() 
    {
        return breedingScale;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }


    public String getRemarks() 
    {
        return remarks;
    }
    
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("customerType", getCustomerType())
            .append("entityType", getEntityType())
            .append("address", getAddress())
            .append("contactPhone", getContactPhone())
            .append("breedingCategory", getBreedingCategory())
            .append("cooperationLevel", getCooperationLevel())
            .append("breedingScale", getBreedingScale())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}